#ifndef JNIDEMO_DATABEAN_H
#define JNIDEMO_DATABEAN_H

typedef unsigned char uint8 ;
typedef unsigned short int  uint16;
typedef unsigned int uint32;

// typedef signed char __int8_t;
// typedef unsigned char __uint8_t;
// typedef signed short int __int16_t;
// typedef unsigned short int __uint16_t;
// typedef signed int __int32_t;
// typedef unsigned int __uint32_t;

#define REPORT_MAX_LEN 32384
// #define REPORT_MAX_LEN 1500

    typedef struct jni_data_bean_t
{
    uint8   rtFlag;
    uint32 version;
    uint32 pkLen;
    uint32 pkId;
    uint8   pkCmd;
    uint8   pkAck;
    uint32 paraCnt;
    uint16 ol[200];    // 16bit unsigned int
    uint16 oid[200];  // 16bit unsigned int
    uint32 val[200];
    uint32 startPoint; // 32bit unsigned int
    uint32 stopPoint;  // 32bit unsigned int
    uint32 reportArrayVal[REPORT_MAX_LEN];
    uint8   formPkArray[1500];
} jni_data_bean;
// typedef struct jni_data_bean_t
// {
//     int version;
//     int pkid;
//     int oid[3];
//     int data[4];
// } jni_data_bean;

#endif // JNIDEMO_DATABEAN_H
